package com.rulestech.salespro.engine;

import java.util.Date;
import java.util.List;

import com.rulestech.engine.EngineContext;
import com.rulestech.framework.location.Location;
import com.rulestech.salespro.inventory.InventoryItem;


/**
 * SalesProEngineContext implements the standard interface but also provides the APIs that access the data to be used by the rules.
 */
public class SalesProEngineContext implements EngineContext {
 
	private Location location;
	 
	private InventoryItem inventoryItem;
	 
	public List<Date> getEffectiveDates() {
		return null;
	}
	
	public SalesProEngineContext(Location location, InventoryItem inventoryItem){
		this.location = location;
		this.inventoryItem = inventoryItem;
	}

	public Location getLocation() {
		return location;
	}

	public InventoryItem getInventoryItem() {
		return inventoryItem;
	}
	 

}
 
